//
//  DishAlbumNavView.h
//  XRmenu
//
//  Created by loufq on 11-3-21.
//  Copyright 2011 E0571. All rights reserved.
//

#import "XRmenuBaseView.h"

@protocol DishAlbumNavViewDelegate;

@interface DishAlbumNavView : XRmenuBaseView { 
	UIPageControl* mPC;
	
	id<DishAlbumNavViewDelegate> delegate;
	NSInteger perIndex;	
}

@property (nonatomic, retain) IBOutlet UIPageControl *mPC;
@property (nonatomic, assign) id<DishAlbumNavViewDelegate> delegate;

-(BOOL) setPageCount:(NSInteger)aIndex;
-(BOOL) setcurrentPageIndex:(NSInteger)aIndex;
@end

@protocol DishAlbumNavViewDelegate
-(void)dishAlbumNavView:(DishAlbumNavView*)navView perIndex:(NSInteger)perIndex changToIndex:(NSInteger)aIndex;
@end